package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: ProjectMemberMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-12
 * @Version: 1.0
 * Table: pear_project_member
 * Comment:
 * 项目-成员表
 */
public interface ProjectMemberMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByProjectCodeMemberCode(@Param("projectCode") String projectCode, @Param("memberCode") String memberCode);

    int deleteByExample(ProjectMemberExample example);

    int insert(ProjectMemberWithBLOBs record);

    int insertSelective(ProjectMemberWithBLOBs record);

    List<ProjectMemberWithBLOBs> selectByExampleWithBLOBs(ProjectMemberExample example);

    List<ProjectMember> selectByExample(ProjectMemberExample example);

    int countByExample(ProjectMemberExample example);

    ProjectMember selectByPrimaryKey(Integer id);

    ProjectMemberWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    ProjectMember selectById(Integer id);

    ProjectMemberWithBLOBs selectByIdWithBLOBs(Integer id);

    ProjectMember selectByProjectCodeMemberCode(@Param("projectCode") String projectCode, @Param("memberCode") String memberCode);

    ProjectMemberWithBLOBs selectByProjectCodeMemberCodeWithBLOBs(@Param("projectCode") String projectCode, @Param("memberCode") String memberCode);

    int updateByExampleSelective(@Param("record") ProjectMemberWithBLOBs record, @Param("example") ProjectMemberExample example);

    int updateByPrimaryKeySelective(ProjectMemberWithBLOBs record);

    int updateByIdSelective(ProjectMemberWithBLOBs record);

    int updateByProjectCodeMemberCodeSelective(ProjectMemberWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ProjectMemberWithBLOBs record);

    int updateByPrimaryKey(ProjectMember record);

    int updateById(ProjectMember record);

    int updateByIdWithBLOBs(ProjectMemberWithBLOBs record);

}
